package cn.itsource.pethome.dictionary.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.dictionary.domain.Systemdictionarytype;
import cn.itsource.pethome.dictionary.query.DctionaryQuery;

import java.util.List;

public interface DctionaryMapper extends BaseMapper<Systemdictionarytype>{
    /**
     * 查询总条数
     * @return
     */
    Long findCountByQuery(DctionaryQuery dctionaryQuery);

    /**
     * 查询分页列表
     * 查询出所有部门信息包括外连的信息
     * @return
     */
    List<Systemdictionarytype> findPageByQuery(DctionaryQuery dctionaryQuery);

    /**
     * 查询所有字典类型id
     * @return
     */
    List<Systemdictionarytype> findtypesId();


}
